<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        .nav{
            height: 50px;
            position: relative;
        }
        
        .nav-left{
            position:absolute;
            left: 0;
            top: 0;
            width: 500px;
            height: 50px;
        }
        .nav-right{
            width: 200px;
            height: 50px;
            position:absolute;
            right: 0;
            top: 0;
        }
        a{
            text-decoration: none; 
            float: left; 
            text-align: left;
            margin-left: 30px;
            margin-top: 5px;
            color: black; 
        }


        .dl{
            color: white;
            background-color: blue;
            border-radius: 15px;
            border: 1px solid blue;
            margin-left: 40px;
            text-decoration: none;
            width: 50px;
            height:22px ;
            text-align: center;
        }
        .sz{
            color: black;
            background-color: white; 
            text-decoration: none;      
        }
        .tpdx{
            width: 643px;
            margin: auto; 
            display: block;
        }

        
        .wz{
             margin: auto;
             width: 700px;
             height: 40px;
             border:1px solid black;
             border-radius: 10px;
             overflow: hidden; 
             position: relative;

        }
        input,button{
            outline: none;
        }
        input{
            width: 600px;
            height: 40px;
            position:absolute;
            top: 0;
            left: 0;
            border: 0;
            background: white url("images/xj.PNG") no-repeat;
            background-size: 35px;
            background-position-x: right;
            background-position-y: center;
            text-indent: 20px;
            
   
        }
        .wz button{
            width: 100px;
            height: 40px;
            border: 0;
            position:absolute;
            top: 0;
            right: 0;
            background-color: blue;
            
        }
        .wz button a{
            text-decoration: none;
            color: white;
            font-weight: bold;
            
        }
        .bx{
            display: block;
            float:right;
        }

        .re{
            background-color: yellow;
            color: white;
        }
        .xin{
            background-color: red;
            color: white;
        }
        .hyh{
            color: rgb(210, 208, 208);
            
        }

        .foot{
            width: 100%;
            height: 20px;
            
            position:relative;
            right: 10px;
            bottom: 50px;
            top: 280px;

            font-size: 5px;
            color: #888;
            background-color: azure;
            padding-bottom: 0;

            
        }

        .foot-left {
            position: absolute;
            left: 5px;
            bottom: 0px;
            text-align: center;
        }

        .foot-right {
            position: absolute;
            right: 5px;
            bottom: 0px;
        }

        .foot-left ul {
            overflow: hidden;
        }

        .foot-left li{
            list-style: none;
            text-align: center;
            float: left;
            width: 85px;
        }
        .fixed{
            height: 20px;
            width: 100px;
           position: fixed;
           right: 10px;
           bottom: 30px;
        }
        .gd{
            height: 5px;
        }

    </style>
</head>
<body>
    <div class="nav">
        <div class="nav-left">
           <a href="#">新闻</a>
           <a href="#">hao123</a> 
           <a href="#">地图</a>
           <a href="#">视频</a>
           <a href="#">贴吧</a>
           <a href="#">学术</a>
           <a href="#">更多</a>
        </div>
        <div class="nav-right">
                <a href="#" class="sz">设置</a>
                <a href="#" class="dl">登录</a>
        </div>
        <div>
            <img src="images/baidu.png" class="tpdx">
        </div>
        <div class="wz" style="margin-top: 2px;">
            <input type="text" width="700px" height="60px">
            <button ><a href="http://baidu.com">百度一下</a></button>
        </div> 
        <div style="margin-top: 50px;">
            <table class="tpdx">
                <tr>
                    <td colspan="2" ><strong>百度热榜</strong></td>
                    <td></td>
                    
                    <td colspan="2"><img src="images/hyh.PNG" style="text-align: right;" class="bx"></td> 
                    <td ><a href="#"class="hyh">换一换</a></td>
                </tr>
                <tr class="gd"></tr>
                <tr>
                    <td style="color: red;">1</td>
                    <td>新冠病毒可在手机屏上存活一个月</td>
                    <td class="re">热</td>
                    <td style="width: 49px;" >&nbsp;</td>
                    <td>4&nbsp;国内第四大运营商中国广电成立</td>
                </tr>
                <tr class="gd"></tr>
                <tr>
                    <td style="color: tomato;">2</td>
                    <td>青岛新增9例核酸检测阳性病例</td>
                    <td >&nbsp;</td>
                    <td >&nbsp;</td>
                    <td>5&nbsp;湖人捧起总冠军奖杯致敬科比</td>
                </tr>
                <tr class="gd"></tr>
                <tr>
                    <td style="color: orange;">3</td>
                    <td>国家卫健委派工作组赴青岛</td>
                    <td class="xin">新</td>
                    <td >&nbsp;</td>
                    <td>6&nbsp;四川营救坠江女孩失联名警牺牲</td>
                </tr>
            </table>
        </div>
        <div class="fixed">
            <img src="images/ewm.png">
        </div>
        <div class="foot">
            <div class="foot-left">
                <ul> 
                    <li>设为首页</li>
                    <li>关于百度</li>
                    <li>About Baidu</li>
                    <li>百度营销</li>
                    <li>使用百度前必读</li>
                    <li>意见反馈</li>
                    <li>帮助中心</li>
                    <li>有奖问卷</li>
                 </ul> 
            </div>
            <div class="foot-right">
                <p>&copy;2020 Baidu&nbsp;&nbsp;&nbsp;&nbsp;(京)-经营性-2017-0020&nbsp;&nbsp;&nbsp;&nbsp;京公网安备11000002000001号&nbsp;&nbsp;&nbsp;&nbsp;京ICP证030173号</p>
            </div>
            
        </div>
    </div>
    
</body>
</html>